<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:59:"D:\phpstudy_pro\demo/application/home\view\home\friend.html";i:1613304858;s:64:"D:\phpstudy_pro\demo\application\home\view\home\base\header.html";i:1612955001;s:64:"D:\phpstudy_pro\demo\application\home\view\home\base\footer.html";i:1612008989;}*/ ?>
<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp"/>

    <!--[if lt IE 8]>
    <meta http-equiv="refresh" content="0;ie.html"/>
    <![endif]-->

    <link href="/public/static/home/css/datepicker3.css" rel="stylesheet">
    <link href="/public/static/home/css/bootstrap.min.css?v=3.3.5" rel="stylesheet">
    <link href="/public/static/home/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
    <link href="/public/static/home/css/animate.min.css" rel="stylesheet">
    <link href="/public/static/home/css/style.min.css?v=4.0.0" rel="stylesheet">
</head>

<div class="row wrapper border-bottom white-bg page-heading">
    <div class="col-lg-10">
        <h2>交友中心</h2>
        <ol class="breadcrumb">
            <li><a href="/home">主页</a>
            </li>
            <li><strong>交友中心</strong>
            </li>
        </ol>
    </div>
    <div class="col-lg-2"></div>
</div>
<div class="wrapper wrapper-content">
    <div class="row animated fadeInRight">
        <?php if (is_array($friend) || $friend instanceof \think\Collection || $friend instanceof \think\Paginator): $i = 0;
            $__LIST__ = $friend;
            if (count($__LIST__) == 0) : echo ""; else: foreach ($__LIST__ as $key => $friend): $mod = ($i % 2);
                ++$i; ?>
                <div class="col-md-4">
                    <div class="widget-head-color-box navy-bg p-lg text-center">
                        <img src="http://q1.qlogo.cn/g?b=qq&nk=<?php echo $friend['qq']; ?>&s=160"
                             class="img-circle circle-border m-b-md"
                             width="152" height="152" alt="QQ:<?php echo $friend['qq']; ?>的头像">
                        <div>
                            <span>用户：<?php echo $friend['name']; ?></span>
                        </div>
                    </div>
                    <div class="ibox-content profile-content">
                        <p>
                        <p>注册时间：<?php echo $friend['regtime']; ?></p>
                        <p>上次登录：<?php echo $friend['lasttime']; ?></p>
                        <h5>
                            <hr/>
                        </h5>
                        <p>
                            <a class="btn btn-primary btn-rounded btn-block"
                               href="http://wpa.qq.com/msgrd?v=1&uin=<?php echo $friend['qq']; ?>&site=houdao.com&menu=yes">添加Ta为好友</a>
                            <a class="btn btn-success btn-rounded btn-block"
                               href="user_data?Id=<?php echo $friend['Id']; ?>">查看完整资料</a>
                        </p>
                    </div>
                </div>
            <?php endforeach; endif; else: echo "";endif; ?>
    </div>
</div>
<div class="text-center">
    <?php echo $page; ?>
</div>
<script type="text/javascript">
    var BASE_URL = '/public/static/home/js/plugins/webuploader';
</script>
<script src="/public/static/home/js/jquery.min.js?v=2.1.4"></script>
<script src="/public/static/home/js/bootstrap.min.js?v=3.3.5"></script>
<script src="/public/static/home/js/plugins/metisMenu/jquery.metisMenu.js"></script>
<script src="/public/static/home/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
<script src="/public/static/home/js/plugins/layer/layer.min.js"></script>
<script src="/public/static/home/js/hplus.min.js?v=4.0.0"></script>
<script type="text/javascript" src="/public/static/home/js/contabs.min.js"></script>
<script src="/public/static/home/js/plugins/pace/pace.min.js"></script>